package Ognl;

import com.zycfc.zsf.boot.util.text.*;
import com.zycfc.zsf.boot.util.bean.*;

public class Ognl
{
    public static boolean isEmpty(final Object o) throws IllegalArgumentException {
        if (o instanceof String) {
            return StringUtils.isBlank((CharSequence)o);
        }
        return Objects.isEmpty(o);
    }
    
    public static boolean isNotEmpty(final Object o) {
        return !isEmpty(o);
    }
    
    public static boolean isNotEmpty(final Long o) {
        return !isEmpty(o);
    }
    
    public static boolean isNumber(final Object o) {
        return Objects.isNumber(o);
    }
    
    public static boolean notContainSesame(final String value) {
        return Objects.isEmpty((Object)value) || !StringUtils.contains((CharSequence)value, (CharSequence)"`");
    }
}
